//1.引用mockjs
let Mock=require("mockjs")
//2.配置
//Mock.mock("模拟数据地址","方式get/post",require("你的json地址"))

Mock.mock("/data/list/xiaoming","get",require("./data.json"))